//function scanresult_addspyware(tindex,tname,tlevel,ttype,tdesc,tadvice,tstatus,tprev_status,counts) //Priya comment for ' Show the total infection for each spyware in scan result page
function scanresult_addspyware(tindex,tname,tlevel,ttype,tdesc,tadvice,tstatus,tprev_status,counts,totalinfected) //Added by priya Priya for Show the total infection for each spyware in scan result page
{
prev_row=null;
var theTable = document.all['scan_result_table'];
//Added By Priya
var lastrow = theTable.rows.length;
////////////////
var row =theTable.insertRow();
row.setAttribute('id','result'+tindex);
//row.setAttribute('id','result1'+tindex);
row.tindex=tindex;
row.tname=tname;
row.tlevel=tlevel;
row.ttype=ttype;
row.tdesc=tdesc;
row.tadvice=tadvice;
row.tprev_status=tprev_status;
row.onclick=showScanresult_ScanDescription;
row.expanded=false;
row.files=new Array();
row.processes=new Array();
row.folders=new Array();
row.regkeys=new Array();
row.regvalues=new Array();
row.cookies=new Array();
var cell = row.insertCell();
var str=document.frames[0].document.all['scanresult_item'].innerHTML;